home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2005 October / PCWOCT05.iso / Software / FromTheMag / XAMPP 1.4.14 / xampp-win32-1.4.14-installer.exe / xampp / htdocs / pdf / pdf.php < prev    next >
PHP Script  |  2003-07-09  |  666b  |  19 lines

  1. <?
  2. if ($value2 != "" || $value2 != " ")
  3. { $co="c/o $value2"; }
  4.  
  5. include 'class.ezpdf.php';
  6.     $pdf =& new Cezpdf();
  7.     $pdf->addJpegFromFile('logo.jpg',250,770,100);
  8.     $pdf->selectFont('./fonts/Helvetica');
  9.     $pdf->ezText('',12);
  10.     $pdf->addText(60,720,5,'ApacheFriends ╖ WAMPP ╖ www.apachefriends.org');
  11.     $pdf->addText(60,700,9,$value1);
  12.     $pdf->addText(60,690,9,$co);
  13.     $pdf->addText(60,680,9,$value3);
  14.     $pdf->addText(60,670,9,$value4);
  15.     $pdf->addText(60,640,10,'Vielen Dank fⁿr Ihre Daten! Ein dynamisches PDF Dokument wurde eben erstellt.');
  16.     $pdf->addText(60,620,10,'Thank you for your address! A new pdf document is provided.');
  17.     $pdf->ezStream();
  18. ?>
  19.